package com.xbb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbb.entity.User;
import com.xbb.entity.UserParam;
import org.apache.ibatis.annotations.Param;

import javax.validation.Valid;
import java.util.List;

public interface UserService extends IService<User>{

    public List<User> getZiXunShiByWeight(UserParam user);

    public boolean updateZiXunShiWeight(User user);

    public List<User> getQianDaoList(UserParam user);

    boolean updateBatchUser(@Param("ids") List<Integer> ids, @Param("i") Integer i);

    Integer updatePassWord(User user);

    Integer updateWrongNum(String loginName);

    List<User> getUserNameByLoginName(@Valid User user);

    List<User> getUserContainsRole(Integer id);

    List<User> getWangLuoZiXunShiList(UserParam user);
}
